﻿@using BYSJ.Web.Models
@model baseModel 
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="renderer" content="webkit">
    <title>@RenderSection("TitleSection")</title>
    <link rel="shortcut icon" type="image/x-icon" href="~/image/acount/favicon.ico" />
    <link href="~/Content/common.css" rel="stylesheet" />
    <link href="~/Content/index2.css" rel="stylesheet" />
    <link href="~/Content/flexslider.css" rel="stylesheet" />
    <link href="~/Content/index.css" rel="stylesheet" />
   
   
    <link href="~/Content/child/childcss.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
   
    <link href="~/Content/alert/jquery-confirm.css" rel="stylesheet" />
    <script src="~/Scripts/alert/jquery-confirm.js"></script>
    <script src="~/Scripts/acount/jquery.ui.js"></script>
    <link href="~/Content/acount/smoothness/jquery.ui.css" rel="stylesheet" />
    <script src="~/Scripts/basejs/base.js"></script>
    @RenderSection("JsSection",false)
</head>
<body>
    @*<div class="Header">*@
        <div class="m-topnav">
            <div class="g-container" style="height:37px;">
                <span class="u-nav left clear">
                    <a href="http://www.hactcm.edu.cn/" class="li f-c9 l" target="_blank">河南中医药大学</a>
                </span>
                <span class="u-nav j-beforelogin right" style="display:block;">
                    <a class="f-c6 r li collection" href="javascript:AddFavorite('http://www.hactcm.edu.cn/', '河南中医学院数据结构自主学习系统')" title="加入收藏">收藏</a>
                    <span class="f-c6 li r line">|</span>
                    <span class="f-c6 li r" id="longout" style="cursor:pointer;">
                        <a href="/longout">退出</a>  
                    </span>
                        <span class="f-c6 li r line" id="denglu1">|</span>
                    <span class="f-c6 li r">
                       @Model.name
                    </span>
                            <span class="f-c6 li r line">|</span>
                    <a href="/Home/Index/@Model.name"> <span class="f-c6 li r">欢迎来到河南中医药大学数据结构自主学习系统!</span>
</span>   </a>
            </div>
        </div>
    <div class="Header">
        <div class="header_wrap">
            <div class="logo_wrap">
                <a href="/Home/Index/@Model.name">
                    <img src="~/image/index/logo.png" />
                </a>
</div>
            <form action="/search" method="get" id="searcks">
                <div class="search right rel j-input">
                    <input type="hidden" id="CSRFToken" name="search">
                    <input type="text" id="query" name="query" class="inputxt j-txt l" placeholder="请输入文件名字">
                    <div id="subbtnfile" class="subbtn f-icon" onclick="formSubmit()"></div>
                </div>
            </form>
        </div>
    </div>
    <div class="header_nav">
        <ul>
            <li class="current"><a href="/Home/Index/@Model.name">首页</a></li>
            <li class="shipin"><a href="/shipin/@Model.name">视频课堂</a></li>
            <li class="wendang"><a href="/File/@Model.name">教学资源</a></li>
            <li class="hudong"><a href="/huDong/@Model.name">互动交流</a></li>
            <li class="gongxiang"><a href="/shard/@Model.name/1">共享资源</a></li>
            <li class="kaiyuan"><a href="/oneself/@Model.name">个人中心</a></li>
        </ul>
    </div>
    @RenderSection("bodycontent",false)
    @RenderSection("shipincontent", false)
    @RenderSection("shipinshow", false)
    @RenderSection("filedown", false)
    <div id="footer">
        <div class="footerwaper">
            <div class="footer_intro">
                <div class="footer_logo"></div>
                <p>河南中医学院数据结构学习系统</p>
            </div>
            <div class="footer_link">
                <ul>
                    <li ><a href="">视频总量：@Model.videocount 个</a></li>
                    <li ><a href="">系统用户数：@Model.renshu 人</a></li>
                    <li ><a href="">视频时长：@Model.videotime 小时</a></li>
                    <li><a href="/shipin/@Model.name">视频课堂</a></li>
                    <li><a href="/huDong/@Model.name">互动交流</a></li>
                    <li><a href="/shard/@Model.name/1">共享资源</a></li>
                    <li><a href="">意见反馈</a></li>
                    <li><a href="">友情链接</a></li>
                    <li><a href="http://127.0.0.1:8000/" target="view_window">管理员入口</a></li>
                   
                </ul>
            </div>
            <div class="attention">
                <img src="/image/weixin.jpg" width="120px" />
            </div>

        </div>
    </div>

    <script type="text/javascript">
        function AddFavorite(sURL, sTitle) {
            sURL = encodeURI(sURL);
            try {
                window.external.addFavorite(sURL, sTitle);
            } catch (e) {
                try {
                    window.sidebar.addPanel(sTitle, sURL, "");
                } catch (e) {
                    alertwin("提示","加入收藏失败，请使用Ctrl+D进行添加,或手动在浏览器里进行设置.");
                }
            }
        }
        function alertwin(tilele, content) {
            $.alert({
                title: tilele,
                content: content,
                confirmButton: '确认',
                columnClass: 'col-md-2 col-md-offset-4',

            });
        }
        function formSubmit() {
            document.getElementById("searcks").submit()
        }
    </script>
</body>

</html>
